import * as fs from 'fs';

const safePath = "/etc/passwd";
fs.openSync(safePath, 'r');

const userDefined = someOther.path + '/config';
fs.readFileSync(userDefined, 'utf-8');

fs.writeFileSync("/tmp/output.log", "data");
